<?php
namespace App\Admin\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 用户列表Dto （导入导出）
 */
#[ExcelData]
class MemberDto implements MineModelExcel
{
    #[ExcelProperty(value: "id", index: 0)]
    public string $id;

    #[ExcelProperty(value: "开放平台ID", index: 1)]
    public string $openid;

    #[ExcelProperty(value: "昵称", index: 2)]
    public string $nickname;

    #[ExcelProperty(value: "头像", index: 3)]
    public string $avatar;

    #[ExcelProperty(value: "手机号", index: 4)]
    public string $phone;

    #[ExcelProperty(value: "创建时间", index: 5)]
    public string $created_at;

    #[ExcelProperty(value: "更新时间", index: 6)]
    public string $updated_at;


}